Skip to content

Conversation

@cctdaniel
Copy link
Contributor

@cctdaniel cctdaniel commented Sep 19, 2024

due to the limit of guardians payload size, we had to split this one into 2 steps:

  1. create a governance vaa with the hash of the new code as the payload signed by the guardians and store it in the storage
  2. send a OP_UPGRADE_CONTRACT tx to perform the actual upgrade (this will check that the new code hash is the same as the previously stored hash)

@vercel
Copy link

vercel bot commented Sep 19, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
api-reference ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 19, 2024 7:59am
pyth-staking-v2-mainnet 🛑 Canceled (Inspect) Sep 19, 2024 7:59am
staking-v2 ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 19, 2024 7:59am
1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
xc-admin-frontend ⬜️ Ignored (Inspect) Visit Preview Sep 19, 2024 7:59am

Copy link
Contributor

@Riateche Riateche left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Collaborator

@ali-behjati ali-behjati left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@cctdaniel cctdaniel merged commit fd354ae into main Sep 23, 2024
7 checks passed
@cctdaniel cctdaniel deleted the ton-upgrade branch September 23, 2024 06:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants